API Documentation
BufferViewWrapper.h
1 // BufferViewWrapper.h
3 //
5 
7 {
14  template <typename T>
15  class BufferViewWrapper final
16  {
17  public :
18 
19  // Environment update
27  static void updateEnvironment (nkScripts::Environment* env, const nkMemory::BufferView& typeName, const nkMemory::BufferView& typeNameUserObject = "") ;
28 
29  // Callbacks
30  // Destructor
36  static void destructor (void* toDestroy) ;
37 
38  // Conversion
61 
62  // Getters
85  } ;
86 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::lua::nkMemoryWrap::BufferViewWrapper
Wraps a nkMemory::BufferView<T> and offers functions for use in scripting.
Definition: BufferViewWrapper.h:16
nkAstraeus::lua::nkMemoryWrap::BufferViewWrapper::subView
static nkScripts::OutputValue subView(const nkScripts::DataStack &stack)
nkAstraeus::lua::nkMemoryWrap::BufferViewWrapper::destructor
static void destructor(void *toDestroy)
nkAstraeus::lua::nkMemoryWrap::BufferViewWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env, const nkMemory::BufferView &typeName, const nkMemory::BufferView &typeNameUserObject="")
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::lua::nkMemoryWrap::BufferViewWrapper::getData
static nkScripts::OutputValue getData(const nkScripts::DataStack &stack)
nkAstraeus::lua::nkMemoryWrap
Encompasses the wrapping of nkMemory for Lua.
Definition: Constants.h:7
nkAstraeus::lua::nkMemoryWrap::BufferViewWrapper::view
static nkScripts::OutputValue view(const nkScripts::DataStack &stack)
nkAstraeus::lua::nkMemoryWrap::BufferViewWrapper::getSize
static nkScripts::OutputValue getSize(const nkScripts::DataStack &stack)